<!DOCTYPE html>
<html >
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>后台管理平台</title>
    <link href="../lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../css/banner.css">
  </head>
<body>

   <!-- 顶部导航条 -->
   <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
          <!-- Brand and toggle get grouped for better mobile display -->
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">后台管理</a>
          </div>

          <!-- Collect the nav links, forms, and other content for toggling -->
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li class="active"><a href="#">商品管理</a></li>
              <li><a href="#">Link</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li class="divider"></li>
                  <li><a href="#">Separated link</a></li>
                  <li class="divider"></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li>
            </ul>

            <ul class="nav navbar-nav navbar-right">
              <li><a href="#">Link</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li class="divider"></li>
                  <li><a href="#">Separated link</a></li>
                </ul>
              </li>
            </ul>
          </div>
        </div>
      </nav>

  <!-- 页面主体 -->
      <div class="container">
         <div class="row mb-20">
             <div class="col-md-6">
                  <div class="btn-group">
                    <button id="newBtn" type="button" class="btn btn-success">新增商品</button>
                    <button type="button" class="btn btn-warning">修改商品</button>
                    <button type="button" class="btn btn-danger">删除商品</button>
                    <button type="button" class="btn btn-info">下架</button>
                    <button type="button" class="btn btn-info">上架</button>
                  </div>
             </div>
             <div class="col-md-3 col-md-offset-3">
                  <div class="input-group">
                      <input type="text" class="form-control">
                       <span class="input-group-btn">
                        <button class="btn btn-default" type="button">Go!</button>
                      </span>
                </div>
             </div>
         </div>

          <table class="table table-bordered table-striped table-hover mb-0">
              <tr>
                <th class="w-30">
                    <input type="checkbox" name="">
                </th>
                <th class="w-50">序号</th>
                <th>商品名称</th>
                <th>价格</th>
                <th>商品介绍</th>
                <th>库存</th>
                <th>类别</th>
              </tr>
              <tr>
                 <td class="w-30">
                    <input type="checkbox" name="">
                </td>
                  <td>1</td>
                  <td>火箭</td>
                  <td>5000</td>
                  <td>战斗武器</td>
                  <td>100</td>
                  <td>军事用品</td>
              </tr>
               <tr>
                <td class="w-30">
                    <input type="checkbox" name="">
                </td>
                  <td>1</td>
                  <td>火箭</td>
                  <td>5000</td>
                  <td>战斗武器</td>
                  <td>100</td>
                  <td>军事用品</td>
              </tr>
          </table>

           <!-- 分页 -->
           <nav>
              <ul class="pagination pull-right">
                <li><a href="#">&laquo;</a></li>
                <li class="active"><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li><a href="#">&raquo;</a></li>
              </ul>
          </nav>

          <!-- 对话框 -->
          <div id="goodsDlg" class="modal fade">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                  <h4 class="modal-title" id="myModalLabel">新增商品</h4>
                </div>
                <div class="modal-body">
                     <form class="form-horizontal" >
                        <div class="form-group">
                          <label  class="col-sm-2 control-label">商品名</label>
                          <div class="col-sm-10">
                            <input type="text" class="form-control" id="title" placeholder="商品名">
                          </div>
                        </div>
                        <div class="form-group">
                          <label for="inputPassword3" class="col-sm-2 control-label">价格</label>
                          <div class="col-sm-3">
                            <input type="text" class="form-control" id="price" placeholder="请输入价格">
                          </div>
                        </div>
                         <div class="form-group">
                          <label for="inputPassword3" class="col-sm-2 control-label">商品介绍</label>
                          <div class="col-sm-6">
                           <textarea id="details" class="form-control" rows="3"></textarea>
                          </div>
                        </div>
                        <div class="form-group">
                          <label for="inputPassword3" class="col-sm-2 control-label">库存</label>
                          <div class="col-sm-3">
                            <input type="text" class="form-control" id="amount" placeholder="库存">
                          </div>
                        </div>
                        <div class="form-group">
                          <label for="inputPassword3" class="col-sm-2 control-label">类别</label>
                             <div class="col-sm-3">
                              <select id="classify" class="form-control">
                                <option>1</option>
                                <option>2</option>
                                <option>3</option>
                                <option>4</option>
                                <option>5</option>
                              </select>
                            </div>
                        </div>
                        <div class="form-group">
                          <label for="inputPassword3" class="col-sm-2 control-label">状态</label>
                          <div class="col-sm-3">
                               <label class="radio-inline">
                                <input type="radio" name="status" id="inlineRadio1" value="1" checked> 上架
                              </label>
                              <label class="radio-inline">
                                <input type="radio" name="status" id="inlineRadio2" value="0"> 下架
                              </label>
                          </div>
                        </div>


                  </form>
                </div>
                <div class="modal-footer">
                  <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                  <button id="saveBtn" type="button" class="btn btn-primary">保存</button>
                </div>
              </div>
            </div>
          </div>
      </div>



   <script src="../lib/jquery/dist/jquery.min.js"></script>
   <script src="../lib/angular/angular.min.js"></script>
   <script src="../lib/bootstrap/js/bootstrap.min.js"></script>
   <script src="../js/banner.js"></script>
   <script src="js/good.js"></script>
   <script src="../js/index.js"></script>

</body>
</html>